package io.renren.dao.repair;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import io.renren.common.dao.BaseDao;

import io.renren.entity.repair.RepairTaskEntity;
import org.apache.ibatis.annotations.Mapper;

/**
 * 维修任务表
 *
 * @author dio 167762802@QQ.com
 * @since 1.0.0 2025-04-12
 */
@Mapper
public interface RepairTaskDao extends BaseDao<RepairTaskEntity> {

   default RepairTaskEntity selectByRepairId(Long repairId){
       return selectOne(new LambdaQueryWrapper<RepairTaskEntity>().eq(RepairTaskEntity::getRepairId, repairId));
    };
}